#ifndef ASSIGN_H
#define ASSIGN_H

#include "declaration.h"
#include "call.h"

class Assignation : public Instruction {
public:
	Assignation();
	virtual ~Assignation();

	string nom;
	Types valeur;
	int type;
	Emath arrayIndex;
	bool isArraySub;
	Retour evaluer(map<string, Var_T> *loc, map<string, Var_T> *glob);

	Call *valeurDeFonction;
};

Instruction* assigner(list<token> tokensVersAssign);

#endif